import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './checkuser'

import './property'

import './element'

import './components'

import i18n from './i18n'

// 开启日志监控
import '@/util/app/error.log.js'

import '@/style/common/index.scss' // global css

Vue.config.productionTip = false


Promise.all([
    i18n.loadLanguageAsync(store.state.app.currentLang),
    window._systemReady
]).then(() => {
    new Vue({
        router,
        store,
        i18n,
        render: h => h(App)
    }).$mount("#app")
})